package svgCanvas.Rectangle;

/**
 * A rectangle to be added to SVG file
 * @author Martin
 */
public class Rectangle {
    /**
     * x-coordinates of left upper corner
     */
    public int x;
    /**
     * y-coordinate of left upper corner
     */
    public int y;
   
   /**
    * width of rectange
    */
   public int width;
   /**
    * height
    */
   public int height;
   
   /**
    * 
    * @param x
    * @param y
    * @param w
    * @param h
    */
   public Rectangle(int x, int y, int w, int h)
   {
       this.x = x;
       this.y = y;
       width = w;
       height = h;
   }
}
